package com.yy.service.front;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yy.entity.front.AddressBook;
import com.yy.entity.front.User;
import com.yy.utils.R;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * create by KongFuning on 2022/8/4
 */
public interface AddressBookService extends IService<AddressBook> {

    R saveAddressBook(AddressBook addressBook);

    R listAddressBook(AddressBook addressBook);

    R defaultAddress(AddressBook addressBook);

    R toUpdateAddress(String id);

    R updateAddress(AddressBook addressBook);

    R getDefaultAddress();
}
